/*************************************************************************

Framework\System.Windows.Automation.h

	-by Miles Chen (stainboyx@hotmail.com) 2008-12-27

*************************************************************************/

N System{N Windows{N Automation{

	BOOL CALLBACK EnumThreadWindowProc(HWND hWnd, LPARAM lParam);

	BOOL GetProcessMainWindowHandle(LPPROCESS_INFORMATION ppi, LPCWSTR lpszClass, LPCWSTR lpszCaption, OUT HWND* handle);

	HWND GetProcessMainWindowHandle(HANDLE hProcess);

	BOOL GetFirstChildHandle(HWND hwndParent, OUT HWND* handle);

	BOOL GetChildHandle(HWND hwndParent, int nIDDlgItem, OUT HWND* handle);

	BOOL WaitForEnable(HWND hWnd);

}}}